package com.novax.ex.activity.provider.api;

import com.novax.ex.activity.provider.common.ServerName;
import com.novax.ex.common.results.ReturnResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(url = "${remote.wallet-service.endpoint}", name = "WalletApi", contextId = "WalletApi")
public interface WalletApi {

    @PostMapping(value = "/statistic/net-user-deposit")
    ReturnResult<Integer> finishDeposit(@RequestParam("uid") Long uid, @RequestParam("type") Integer type);

}
